package com.letoken.platform.repo.repo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户商家撮合表
 * </p>
 *
 * @author 作者
 * @since 2023-07-24
 */
@Getter
@Setter
@TableName("app_mall_matchmaking")
@ApiModel(value = "AppMallMatchmaking对象", description = "用户商家撮合表")
public class AppMallMatchmaking extends Model<AppMallMatchmaking> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("撮合方用户id")
    @TableField("mall_user_id")
    private Integer mallUserId;


    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
